#include "UICollection.h"
#include "UIElement.h"
namespace UI {
	void UICollection::add(UIElement *item){
		collection.push_back(item);
	}
	
	void UICollection::RedrawCollection( void ){
		for (unsigned int i = 0; i < collection.size(); i++)
		{
			collection.at(i)->Draw();
		}
	}
}

